package cn.kgc.service;

import cn.kgc.dao.LoginDao;
import cn.kgc.pojo.BackendUser1;
import cn.kgc.pojo.DevUser;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class LoginServiceImpl implements LoginService{

    @Resource
    private LoginDao login;

    @Override
    public BackendUser1 backendUser(String userCode, String userPassword) {
        return login.backendUser(userCode,userPassword);
    }

    @Override
    public DevUser devUser(String devCode, String devPassword) {
        return login.devUser(devCode,devPassword);
    }
}
